<template>
  <div class="app-container">
    <el-tabs v-model="activeName">
      <el-tab-pane label="供应商" name="first">
        <reviewed v-if="activeName === 'first'"></reviewed>
      </el-tab-pane>
      <el-tab-pane label="待审核供应商" name="second">
        <unReviewed v-if="activeName === 'second'"></unReviewed>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import reviewed from "./reviewed/index.vue"
import unReviewed from "./unReviewed/index.vue"
export default {
  components: {
    reviewed,
    unReviewed
  },
  name: "Supplier",
  data() {
    return {
      activeName:'first'
    };
  },
  created() {
  },
  methods: {
    /** 查询供应商信息列表 */
    getList() {
      this.loading = true;
      listSupplier(this.queryParams).then(response => {
        this.supplierList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
   
  }
};
</script>
